﻿/******************************************************************
 *Company: http://www.xiaomutech.com/
 *fileName : qaistrategy.h --- QAiStrategy
 *Auth       : yhni (QQ:393320854)
 *Create    : 2022/2/10
 *Description   :
 *Histroy:
 *<Auth>    <Date>        <Ver>        <Content>
 *         2022/2/10
 *******************************************************************/
#ifndef QAISTRATEGY_H
#define QAISTRATEGY_H

#include <QObject>

#include "qcardarea.h"
#include "card_header.h"
#include "qcardhand.h"

class QAiStrategy : public QObject
{
    Q_OBJECT
public:
    explicit QAiStrategy(CardList _cards, QObject *parent = nullptr);

    CardList playBeatHand(QCardHand hand);
    CardList findCardsByCount(int count);

    bool whetherToBeat(const CardList &myCards);
signals:

private:
    CardList   m_cards;
};

#endif // QAISTRATEGY_H
